//
//  YahooWeatherData.h
//  WeatherDesktop
//
//  Created by Justin Dell on 10/26/08.
//  Copyright 2008 . All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface YahooWeatherData : NSObject {
    NSDictionary    *codeToPicture;
    NSString        *weather;
    NSInteger             code;
}

-(YahooWeatherData *)init;
-(NSInteger)fetchDataWithZip:(NSString *)zipCode;

// Helper methods used during parsing
-(NSError *)parseData:(NSData *)info;
-(NSString *)getPicture;
-(NSInteger)getCode;

//@property (assign, readonly) int code;
//@property (copy, readonly) NSString *weather;

@end
